package Object;

public class Market {
    public double price;
    public String name;
    public static double vipDiscount = 8.88;
    public Market(String name, double price) {
        this.name = name;
        this.price = price;
    }
    public void Sell() {
        System.out.println("Market Sell");
    }
    public double Buy() {
        return price;
    }
    public void BigSell() {
        double price ;
        System.out.println("Market Sell Big Sell");
        this.price = 9.99;
        System.out.println("this  price is " + this.price);
        price = this.price * 0.8;
        System.out.println("this  price is " + price);
    }
    public void buy() {
        System.out.println("Market buy");
    }
    public int buy(int a){
        return 1;
    }
}
